package com.liaoban.app.api.type;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by ybc on 2018/7/25 0025.
 */
public class Anchor extends BaseType {
    public static final int TYPE_VIDEO = 1; //ImgBean里的Item为视频

    /**
     * 推荐主播
     * wuser_id : 100019
     * wuser_name : 别叫我女神
     * wuser_src : neice/18207747886.jpg
     * line_status : 1
     * wuser_suffer : 0
     * wuser_grade : 0
     */

    @SerializedName("wuser_id")
    private int wuserId;
    @SerializedName("wuser_name")
    private String wuserName;
    @SerializedName("wuser_src")
    private String wuserSrc;
    @SerializedName("line_status")
    private int lineStatus;
    @SerializedName("wuser_suffer")
    private int wuserSuffer;
    @SerializedName("wuser_grade")
    private String wuserGrade;
    @SerializedName("wuser_sex")
    private int wuserSex;
    private int info;

    /**
     * 分类推荐
     * form_id : 8
     * weight : 0
     * form_time : 1532489951
     * name : 浪荡孟婆儿
     * jietong : 100%
     */

    @SerializedName("form_id")
    private int formId;
    private int weight;
    @SerializedName("form_time")
    private int formTime;
    private String name;
    private String jietong;
    @SerializedName("video_status")
    private int videoStatus;
    /**
     * 主播
     * city :
     * age : 23
     * wuser_num : 0
     * description : 这个人很懒，什么也没有留下
     * info : 0
     * info_status : 1
     */

    private String city;
    private int age;
    @SerializedName("wuser_num")
    private int wuserNum;
    private String description;
    @SerializedName("info_status")
    private int infoStatus;
    @SerializedName("fans_is_status")
    private int fansIsStatus; //0是未关注  1是关注  2互相关注
    @SerializedName("wuser_im_id")
    private String wuserImId; //主播im帐号
    private List<ImgBean> img;
    @SerializedName("call_status")
    private int callStatus; //1:可以聊天  0：不能聊天
    @SerializedName("black_status")
    private int blackStatus; //0表示没有加入黑名单1表示，已经加入黑名单
    @SerializedName("follow_num")
    private int followNum;
    @SerializedName("tong_status")
    private int tongStatus;
    @SerializedName("tong_rule")
    private int tongRule; //视频价格
    @SerializedName("yu_rule")
    private int yuRule; //语音价格
    @SerializedName("wuser_status")
    private int wuserStatus; //1，那就显示这个通话的价格，0就不显示

    /**
     * info : {"wuser_sex":1,"age":21,"city":"福州","wuser_id":100019,"description":"这个人很懒，什么也没有留下","juli":100}
     * img : {"img_src":"neice/18207747886.jpg","img_type":2}
     * gift : []
     * issue : []
     * video : [{"img_id":1,"img_uid":100022,"img_sid":1,"img_src":"100022/100022(1).jpg","img_type":1,"img_time":1,"video_id":1},{"img_id":2,"img_uid":100022,"img_sid":1,"img_src":"100022/100022(2).jpg","img_type":1,"img_time":1,"video_id":2},{"img_id":3,"img_uid":100022,"img_sid":1,"img_src":"100022/100022(3).jpg","img_type":1,"img_time":1,"video_id":3},{"img_id":4,"img_uid":100004,"img_sid":1,"img_src":"20180731/316567d3628184f6a19ed90b2252a316.jpg","img_type":1,"img_time":1533029664,"video_id":null}]
     */

    private InfoBean infos;
    private List<GiftBean> gift;
    private List<IssueBean> issue;
    private List<VideoBean> video;

    public int getWuserId() {
        return wuserId;
    }

    public void setWuserId(int wuserId) {
        this.wuserId = wuserId;
    }

    public String getWuserName() {
        return wuserName;
    }

    public void setWuserName(String wuserName) {
        this.wuserName = wuserName;
    }

    public String getWuserSrc() {
        return wuserSrc;
    }

    public void setWuserSrc(String wuserSrc) {
        this.wuserSrc = wuserSrc;
    }

    public int getLineStatus() {
        return lineStatus;
    }

    public void setLineStatus(int lineStatus) {
        this.lineStatus = lineStatus;
    }

    public int getWuserSuffer() {
        return wuserSuffer;
    }

    public void setWuserSuffer(int wuserSuffer) {
        this.wuserSuffer = wuserSuffer;
    }

    public String getWuserGrade() {
        return wuserGrade;
    }

    public void setWuserGrade(String wuserGrade) {
        this.wuserGrade = wuserGrade;
    }


    public int getFormId() {
        return formId;
    }

    public void setFormId(int formId) {
        this.formId = formId;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getFormTime() {
        return formTime;
    }

    public void setFormTime(int formTime) {
        this.formTime = formTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJietong() {
        return jietong;
    }

    public void setJietong(String jietong) {
        this.jietong = jietong;
    }


    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getWuserNum() {
        return wuserNum;
    }

    public void setWuserNum(int wuserNum) {
        this.wuserNum = wuserNum;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getInfoStatus() {
        return infoStatus;
    }

    public void setInfoStatus(int infoStatus) {
        this.infoStatus = infoStatus;
    }

    public int getFansIsStatus() {
        return fansIsStatus;
    }

    public void setFansIsStatus(int fansIsStatus) {
        this.fansIsStatus = fansIsStatus;
    }

    public String getWuserImId() {
        return wuserImId;
    }

    public void setWuserImId(String wuserImId) {
        this.wuserImId = wuserImId;
    }

    public List<ImgBean> getImg() {
        return img;
    }

    public void setImg(List<ImgBean> img) {
        this.img = img;
    }

    public List<GiftBean> getGift() {
        return gift;
    }

    public void setGift(List<GiftBean> gift) {
        this.gift = gift;
    }

    public List<IssueBean> getIssue() {
        return issue;
    }

    public void setIssue(List<IssueBean> issue) {
        this.issue = issue;
    }

    public List<VideoBean> getVideo() {
        return video;
    }

    public void setVideo(List<VideoBean> video) {
        this.video = video;
    }

    public int getWuserSex() {
        return wuserSex;
    }

    public void setWuserSex(int wuserSex) {
        this.wuserSex = wuserSex;
    }

    public int getInfo() {
        return info;
    }

    public void setInfo(int info) {
        this.info = info;
    }

    public InfoBean getInfos() {
        return infos;
    }

    public void setInfos(InfoBean infos) {
        this.infos = infos;
    }

    public int getCallStatus() {
        return callStatus;
    }

    public void setCallStatus(int callStatus) {
        this.callStatus = callStatus;
    }

    public int getBlackStatus() {
        return blackStatus;
    }

    public void setBlackStatus(int blackStatus) {
        this.blackStatus = blackStatus;
    }

    public int getVideoStatus() {
        return videoStatus;
    }

    public void setVideoStatus(int videoStatus) {
        this.videoStatus = videoStatus;
    }

    /**
     * 是否有视频
     * @return
     */
    public boolean isHasVideo() {
        return this.videoStatus == 1;
    }

    public int getFollowNum() {
        return followNum;
    }

    public void setFollowNum(int followNum) {
        this.followNum = followNum;
    }

    public int getTongStatus() {
        return tongStatus;
    }

    public void setTongStatus(int tongStatus) {
        this.tongStatus = tongStatus;
    }

    /**
     * 是否同角色
     * @return
     */
    public boolean isTongStatus() {
        return 0 == this.tongStatus;
    }

    public int getTongRule() {
        return tongRule;
    }

    public void setTongRule(int tongRule) {
        this.tongRule = tongRule;
    }

    public int getYuRule() {
        return yuRule;
    }

    public void setYuRule(int yuRule) {
        this.yuRule = yuRule;
    }

    public int getWuserStatus() {
        return wuserStatus;
    }

    public void setWuserStatus(int wuserStatus) {
        this.wuserStatus = wuserStatus;
    }

    public static class ImgBean {
        /**
         * img_src : 100022/100022(1).jpg
         * img_sid : 1
         * img_type : 1
         * video_id : 1
         * video_src : video/WeChat_20180729211634.mp4
         */

        @SerializedName("img_src")
        private String imgSrc;
        @SerializedName("img_sid")
        private int imgSid;
        @SerializedName("img_type")
        private int imgType;
        @SerializedName("video_id")
        private int videoId;
        @SerializedName("video_src")
        private String videoSrc;

        public String getImgSrc() {
            return imgSrc;
        }

        public void setImgSrc(String imgSrc) {
            this.imgSrc = imgSrc;
        }

        public int getImgSid() {
            return imgSid;
        }

        public void setImgSid(int imgSid) {
            this.imgSid = imgSid;
        }

        public int getImgType() {
            return imgType;
        }

        public void setImgType(int imgType) {
            this.imgType = imgType;
        }

        public int getVideoId() {
            return videoId;
        }

        public void setVideoId(int videoId) {
            this.videoId = videoId;
        }

        public String getVideoSrc() {
            return videoSrc;
        }

        public void setVideoSrc(String videoSrc) {
            this.videoSrc = videoSrc;
        }
    }

    public static class InfoBean {
        /**
         * wuser_sex : 1
         * age : 21
         * city : 福州
         * wuser_id : 100019
         * description : 这个人很懒，什么也没有留下
         * juli : 100
         */

        @SerializedName("wuser_sex")
        private int wuserSex;
        private int age;
        private String city;
        @SerializedName("wuser_id")
        private int wuserId;
        private String description;
        private String juli;

        public int getWuserSex() {
            return wuserSex;
        }

        public void setWuserSex(int wuserSex) {
            this.wuserSex = wuserSex;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public int getWuserId() {
            return wuserId;
        }

        public void setWuserId(int wuserId) {
            this.wuserId = wuserId;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getJuli() {
            return juli;
        }

        public void setJuli(String juli) {
            this.juli = juli;
        }
    }

    public static class VideoBean {
        /**
         * img_id : 1
         * img_uid : 100022
         * img_sid : 1
         * img_src : 100022/100022(1).jpg
         * img_type : 1
         * img_time : 1
         * video_id : 1
         */

        @SerializedName("img_id")
        private int imgId;
        @SerializedName("img_uid")
        private int imgUid;
        @SerializedName("img_sid")
        private int imgSid;
        @SerializedName("img_src")
        private String imgSrc;
        @SerializedName("img_type")
        private int imgType;
        @SerializedName("img_time")
        private int imgTime;
        @SerializedName("video_id")
        private int videoId;

        public int getImgId() {
            return imgId;
        }

        public void setImgId(int imgId) {
            this.imgId = imgId;
        }

        public int getImgUid() {
            return imgUid;
        }

        public void setImgUid(int imgUid) {
            this.imgUid = imgUid;
        }

        public int getImgSid() {
            return imgSid;
        }

        public void setImgSid(int imgSid) {
            this.imgSid = imgSid;
        }

        public String getImgSrc() {
            return imgSrc;
        }

        public void setImgSrc(String imgSrc) {
            this.imgSrc = imgSrc;
        }

        public int getImgType() {
            return imgType;
        }

        public void setImgType(int imgType) {
            this.imgType = imgType;
        }

        public int getImgTime() {
            return imgTime;
        }

        public void setImgTime(int imgTime) {
            this.imgTime = imgTime;
        }

        public int getVideoId() {
            return videoId;
        }

        public void setVideoId(int videoId) {
            this.videoId = videoId;
        }
    }

    public static class GiftBean {

        /**
         * id : 5
         * gift_name : 5
         * gift_src : 20180802/48e3bc18e954f8b48095ccc388d9c588.png
         * gift_b : 5
         */

        private int id;
        @SerializedName("gift_name")
        private String giftName;
        @SerializedName("gift_src")
        private String giftSrc;
        @SerializedName("gift_b")
        private int giftB;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getGiftName() {
            return giftName;
        }

        public void setGiftName(String giftName) {
            this.giftName = giftName;
        }

        public String getGiftSrc() {
            return giftSrc;
        }

        public void setGiftSrc(String giftSrc) {
            this.giftSrc = giftSrc;
        }

        public int getGiftB() {
            return giftB;
        }

        public void setGiftB(int giftB) {
            this.giftB = giftB;
        }
    }

    public static class IssueBean {

        /**
         * img_id : 7
         * img_uid : 100019
         * img_sid : 1
         * img_src : 100022/100022(2).jpg
         * img_type : 2
         * img_time : 1
         * video_id : null
         */

        @SerializedName("img_id")
        private int imgId;
        @SerializedName("img_uid")
        private int imgUid;
        @SerializedName("img_sid")
        private int imgSid;
        @SerializedName("img_src")
        private String imgSrc;
        @SerializedName("img_type")
        private int imgType;
        @SerializedName("img_time")
        private int imgTime;
        @SerializedName("video_id")
        private Object videoId;

        public int getImgId() {
            return imgId;
        }

        public void setImgId(int imgId) {
            this.imgId = imgId;
        }

        public int getImgUid() {
            return imgUid;
        }

        public void setImgUid(int imgUid) {
            this.imgUid = imgUid;
        }

        public int getImgSid() {
            return imgSid;
        }

        public void setImgSid(int imgSid) {
            this.imgSid = imgSid;
        }

        public String getImgSrc() {
            return imgSrc;
        }

        public void setImgSrc(String imgSrc) {
            this.imgSrc = imgSrc;
        }

        public int getImgType() {
            return imgType;
        }

        public void setImgType(int imgType) {
            this.imgType = imgType;
        }

        public int getImgTime() {
            return imgTime;
        }

        public void setImgTime(int imgTime) {
            this.imgTime = imgTime;
        }

        public Object getVideoId() {
            return videoId;
        }

        public void setVideoId(Object videoId) {
            this.videoId = videoId;
        }
    }
}
